From 3863ac76d1dd97c18e5540879b9d86a536caa8e9 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Mon, 10 Jul 2006 17:33:45 +0100 Subject: [PATCH] [LINUX] Define dma_get_cache_alignment even on x86/64. Signed-off-by: Keir Fraser --- .../include/asm-i386/mach-xen/asm/dma-mapping.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h index bd43e8fc52..17ef0c2afd 100644 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h @@ -120,7 +120,6 @@ dma_set_mask(struct device *dev, u64 mask) return 0; } -#ifdef __i386__ static inline int dma_get_cache_alignment(void) { @@ -128,7 +127,6 @@ dma_get_cache_alignment(void) * maximum possible, to be safe */ return (1 << INTERNODE_CACHE_SHIFT); } -#endif #define dma_is_consistent(d) (1) -- 2.30.2